gdk/broadway/toarray.pl: Fix Code Generation for MSVC
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 22 Oct 2014 12:03:34 +0000 (20:03 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 23 Oct 2014 01:12:22 +0000 (09:12 +0800)
commit35486e7990178a44939a36f882a66c09bcf0ce6a
tree9bac2f5f8da7911d76d9eca7ddd1960c89e352b4
parent7b6a6c9421b6e4e8aa974f28eaf54a63f3f9c90b
gdk/broadway/toarray.pl: Fix Code Generation for MSVC

The current implementation of this script generate headers with \x-escaped
strings that can become too long (> 65535 characters) for Visual Studio
to consume, hence the build of broadwayd would break on Visual Studio.

This changes the script to instead format the string as an array of hex
characters, not unlike what GResource does, so that builds can continue as
normal on Visual Studio builds as well.

https://bugzilla.gnome.org/show_bug.cgi?id=739001
gdk/broadway/toarray.pl